#ifndef SELF_REFLECT_DV_DESTINATION_H
#define SELF_REFLECT_DV_DESTINATION_H

#include "dvdest.h"
#include "dvlog.h"
#include <map>
using namespace std;

class SelfReflectDVDestination : public IDVDestination
{
public:
	SelfReflectDVDestination(sa_family_t sa_family, in_port_t dst_port, int32_t log_period = 0);
	~SelfReflectDVDestination();
protected:
	virtual bool Init();
	virtual bool DealPacket(char* packet, int length, const IPEndPoint& ep);
private:
	in_port_t	dst_port;
	Socket		sock;
};

#endif // !defined(SELF_REFLECT_DV_DESTINATION_H)

